package io.renren.modules.avanotes.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.renren.common.utils.BizUtils;
import io.renren.common.utils.DateUtils;
import io.renren.common.utils.PageUtils;
import io.renren.common.utils.Query;
import io.renren.common.vo.output.NextWordVo;
import io.renren.common.vo.output.ReciteWordAggVo;
import io.renren.common.vo.output.SubtitleDetailsVo;
import io.renren.config.BizConfig;
import io.renren.config.TXYCosConfig;
import io.renren.modules.avanotes.dao.ReciteRecordDao;
import io.renren.modules.avanotes.dao.SsTagDao;
import io.renren.modules.avanotes.dao.StudyScheduleDao;
import io.renren.modules.avanotes.dao.VocabularyDao;
import io.renren.modules.avanotes.entity.*;
import io.renren.modules.avanotes.service.ReciteRecordService;
import io.renren.modules.avanotes.service.SsTagService;
import io.renren.modules.avanotes.service.StudyScheduleService;
import io.renren.modules.avanotes.service.SubtitleDetailsService;
import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.BeanUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.Map;

//@Service("ssTagService")//默认只有一个实现，那就不写名称了直接使用默认的名称！
@Service
public class SsTagServiceImpl extends ServiceImpl<SsTagDao, SsTagEntity> implements SsTagService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<SsTagEntity> page = this.page(
                new Query<SsTagEntity>().getPage(params),
                new QueryWrapper<SsTagEntity>()
        );

        return new PageUtils(page);
    }

}